<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>修改商品信息</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
 	 <center><font class="tabletop">修改商品信息</font></center><br/><br/>
    
     <s:form action="ProductAction!updateProduct"  onsubmit="javascript:window.close();">    
     	<input type="hidden"  name="product.productId" value="${product.productId}"/>
     	商品编码：<input type="text"  name="product.productCode" value="${product.productCode}"/><br/>
    	商品名称：<input type="text"  name="product.productName" value="${request.product.productName}"/><br/>
    	商品单位：<input type="text"  name="product.productUnit" value="${product.productUnit}"/><br/>
    	规格型号：<input type="text"  name="product.specification" value="${product.specification}"/>
    	<br/>
    	成本价格：<input type="text"  name="product.costPrice" value="${product.costPrice}"/>
    	<br/>
    	销售价格：<input type="text"  name="product.salesPrice" value="${product.salesPrice}"/>
    	<br/>
    	商品描述：<input type="text"  name="product.description" value="${product.description}"/>
    	<br/>
    	使用状态：<input type="text"  name="product.useStatus" value="${product.useStatus}"/>
    	<br/>    
    	<input type="submit"  value="提交"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" value="关闭" onclick="javascript:window.close();" />	
    </s:form>
  </body>
</html>
